<template>
  <div class="com-b">com-b</div>
</template>

<script>
export default {
  name: 'com-b',
  data() {
    return {}
  },
  computed: {
    r() {
      return this.$root.router
    }
  },
  watch: {},
  methods: {
    async lsData() {
      this.data.list = await vm.post('url', {
        a: 'action'
      })
    },
  },
  async mounted() {
    // await this.lsData()
  }
}
</script>

<style lang="less" scoped>
.com-b {}
</style>